package app.netant.bt.bthuahua;

import app.netant.bt.MargnetDetail;
import app.netant.bt.MargnetPage;
import app.netant.bt.MargnetRoot;
import cn.lily.com.enviroment.Enviroment;
/**
 * 关键字：18禁ゲーム | 同人ゲーム | 一般ゲーム
 * @author JiaJ
 *
 */
public class BtHuaHuaRoot extends MargnetRoot {

	@Override
	public String getUrl(int idx) {
		return "https://www.bthuahua.net/index.php?r=files%2Findex&kw=%E7%A6%81%E3%82%B2%E3%83%BC%E3%83%A0&page="+idx;
	}
	
	@Override
	public MargnetPage buildPage(String url) {
		MargnetPage page = new BtHuaHuaPage(url);
		return page;
	}

	@Override
	public MargnetDetail buildDetail(String url) {
		MargnetDetail detail = new BtHuaHuaDetail(url);
		return detail;
	}
	
	public static void main(String[] args) {
		Enviroment.createEnv();
		Enviroment.getEnv().getLogBean().beginLog();
		BtHuaHuaRoot root = new BtHuaHuaRoot();
		root.analyse(50);
	}

}
